<script setup>
import TitleValue from '@components/TitleValue'
defineProps({
    contract: Object,
    user: Object
})
</script>
        
<template>
    <el-row :gutter="16">
        <el-col :span="5">
            <title-value title="签约状态:" value="已签约" />
        </el-col>
        <el-col :span="8">
            <title-value title="签约时间:" :value="contract.createDate ? contract.createDate.replace(' T', ' ') : ''" />
        </el-col>
        <el-col :span="11">
            <title-value title="签约流程号:" :value="contract.flowId" />
        </el-col>
    </el-row>
    <el-row :gutter="16">
        <el-col :span="6">
            <title-value title="签约用户号:" :value="contract.type == '1' ? user.contractUserId : contract.remarks" />
        </el-col>
        <el-col :span="18">
            <title-value title="合同下载地址:" :value="contract.url" />
        </el-col>
    </el-row>
</template>
            